import BaseDatePicker from '@/components/ProForm/BaseDatePicker.vue'
import {
    reactive,
    ref
} from 'vue'
export const setFormConfig = {
    formProps: { // 表单属性
        labelPosition: 'left',
        labelWidth: 'auto',
        style: {
            display: 'flex'
        }
    },
    formItems: [
        {
            name: BaseDatePicker,
            props: {
                label: '發佈日期',
                prop: 'time',
            },
            elProps: reactive({
                format: "YYYY",
                valueFormat: "YYYY-MM-DD",
                type: 'year',
                placeholder: '請選擇年份',
                startPlaceholder: "請選擇開始日期",
                endPlaceholder: "請選擇結束日期",
                clearable: true,
           
            }),
            value: ''
        }

    ],
    rules: {

    }
}